package com.cherrypt.api.model.dataobject;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author intent
 * @date 2019/7/22 22:17
 * @about <link href='http://zzyitj.xyz/'/>
 */
@Getter
@Setter
@ToString
@TableName(value = "t_log")
public class Log implements Serializable {

    private static final long serialVersionUID = 3620095053494885951L;

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer uid;
    private String event;
    private String description;
    private String ip;
    @TableField(fill = FieldFill.INSERT)
    private Long created;
}
